package com.tf.integrated.service.impl;


import com.tf.integrated.dao.EventresultpedestriansinfoDao;
import com.tf.integrated.entity.EventresultpedestriansinfoEntity;
import com.tf.integrated.service.EventresultpedestriansinfoService;
import org.springframework.stereotype.Service;
import java.util.Map;
import java.util.List;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.ccssoft.m8.common.ccssoft.modules.util.EntityWrapperHandle;
import com.ccssoft.m8.common.ccssoft.modules.util.PageUtils;
import com.ccssoft.m8.common.ccssoft.modules.util.Query;


@Service("eventresultpedestriansinfoService")
public class EventresultpedestriansinfoServiceImpl extends ServiceImpl<EventresultpedestriansinfoDao, EventresultpedestriansinfoEntity> implements EventresultpedestriansinfoService<EventresultpedestriansinfoEntity>
{
    public PageUtils<EventresultpedestriansinfoEntity> queryPage(Map<String, Object> params)
    {
        EntityWrapperHandle<EventresultpedestriansinfoEntity> ew = new EntityWrapperHandle<EventresultpedestriansinfoEntity>(params);
        Page<EventresultpedestriansinfoEntity> page = this.selectPage(new Query<EventresultpedestriansinfoEntity>(params).getPage(),ew);
        page.setTotal(this.selectCount(ew));
        return new PageUtils<EventresultpedestriansinfoEntity>(page);
    }

    public List<EventresultpedestriansinfoEntity> queryPageByLike(Map<String, Object> params)
    {
        return baseMapper.queryPageByLike(params);
    }
}
